package com.rainwood.water_authority.http.request;

import com.sxs.easyhttp.config.IRequestApi;

/**
 * @author sxs
 * @date :2020/10/21
 * @desc: 登录
 */
public final class LoginApi implements IRequestApi {
    @Override
    public String getApi() {
        return "cla=user&fun=login";
    }

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String passwd;

    public LoginApi setUsername(String username) {
        this.username = username;
        return this;
    }

    public LoginApi setPasswd(String passwd) {
        this.passwd = passwd;
        return this;
    }
}
